dart sort list by date

71

products.sort((a,b) {
    return a.compareTo(b);
});
 
products.sort((a,b) => a.compareTo(b));

Comments

Submit
0 Comments